import React, { useContext } from 'react';
import { DesignFrameworkContext } from '../../context';
const DesignPanel = () => {
  const { activeItem,registerDesignPanel } = useContext(DesignFrameworkContext)
  console.log({activeItem})
  const Rc = registerDesignPanel[activeItem.component]
  return (<div>{Rc?<Rc/>:null}</div>)
}
export default DesignPanel